#!/usr/bin/env node

const fs=require('fs'),
      lnkName=process.argv[2],
      log=console.log;
//打印链接
try{
  log(`${lnkName}->${fs.readlinkSync(lnkName)}`);
}catch(e){
  log(e.message);
}
//lnk->src
//lnkName->readLinkSync()
